package com.ssm.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * (ElcComment)实体类
 *
 * @author makejava
 * @since 2021-06-01 10:37:18
 */
public class ElcComment implements Serializable {
    private static final long serialVersionUID = 747451737716533770L;
    /**
     * 评论id
     */
    private Integer id;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 用户名
     */
    private String user_name;

    /**
     * 公告id
     */
    private Integer noticeId;

    /**
     * 公告标题
     */
    private String title;

    /**
     * 评论内容
     */
    private String detail;

    /**
     * 创建时间，时区
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    /**
     * 更新时间，时区
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    /**
     * 客户id
     */
    private Integer dpid;

    /**
     *审核状态码
     */
     private Integer audit;

    /**
     * 审核状态值
     */
    private String auditStatus;

    /**
     *审核意见
     */
    private String auditOpinion;


    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getNoticeId() {
        return noticeId;
    }

    public void setNoticeId(Integer noticeId) {
        this.noticeId = noticeId;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getDpid() {
        return dpid;
    }

    public void setDpid(Integer dpid) {
        this.dpid = dpid;
    }

    public Integer getAudit() {
        return audit;
    }

    public void setAudit(Integer audit) {
        this.audit = audit;
    }

    public String getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(String auditStatus) {
        this.auditStatus = auditStatus;
    }

    public String getAuditOpinion() {
        return auditOpinion;
    }

    public void setAuditOpinion(String auditOpinion) {
        this.auditOpinion = auditOpinion;
    }

    @Override
    public String toString() {
        return "ElcComment{" +
                "id=" + id +
                ", userId=" + userId +
                ", user_name='" + user_name + '\'' +
                ", noticeId=" + noticeId +
                ", title='" + title + '\'' +
                ", detail='" + detail + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", dpid=" + dpid +
                ", audit=" + audit +
                ", auditStatus='" + auditStatus + '\'' +
                ", auditOpinion='" + auditOpinion + '\'' +
                '}';
    }
}
